projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2514de5
)
babl-verify: make it compile on win32, by making setenv use putenv
author
Øyvind Kolås
<pippin@gimp.org>
Mon, 21 Nov 2016 12:44:51 +0000
(13:44 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Mon, 21 Nov 2016 12:44:55 +0000
(13:44 +0100)
tools/babl-verify.c
patch
|
blob
|
history
diff --git
a/tools/babl-verify.c
b/tools/babl-verify.c
index e58dc85bffe435da28e3d5fd6fc73eac14b98de2..3e2a7e4399f28cd5a58b88228b6a3c75314b8a07 100644
(file)
--- a/
tools/babl-verify.c
+++ b/
tools/babl-verify.c
@@
-2,6
+2,10
@@
#include <stdlib.h>
#include "babl/babl.h"
+#ifdef _WIN32
+#define setenv(a,b,c) putenv((a),(b))
+#endif
+
int main (int argc, char **argv)
{
if (argc != 3)